# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=rpcsvc-proto
pkgver=1.4.2
pkgrel=0
pkgdesc="rpcsvc protocol definitions from glibc"
url="https://github.com/thkukuk/rpcsvc-proto"
arch="all"
license="BSD-3-Clause"
makedepends="musl-libintl"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/thkukuk/rpcsvc-proto/releases/download/v$pkgver/rpcsvc-proto-$pkgver.tar.xz"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="631fbfc00af94c5d7def0759f27e97dc14d400b4468c906719ae18ecef74815730798c882d1aaa4f90359224e7b829019b786baddc3097905b54f940ca85a714  rpcsvc-proto-1.4.2.tar.xz"
